package com.xbongbong.saas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.refunduser.pojo.dto.RefundUserDeleteBatchDTO;
import com.xbongbong.pro.refunduser.pojo.vo.RefundUserDeleteBatchVO;

import java.util.List;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/3/10 16:17
 * @since v1.0
 */
public interface RefundUserService {

    /**
     * 批量删除
     * @author 吴峰
     * @date 2019/3/10 16:18
     * @param refundUserDeleteBatchDTO
     * @return RefundUserDeleteBatchVO
     * @throws XbbException 业务异常
     */
    RefundUserDeleteBatchVO deleteBatch(RefundUserDeleteBatchDTO refundUserDeleteBatchDTO) throws XbbException;

    /**
     * 更新回滚es
     * @param refundIdIn
     * @param corpid
     * @throws XbbException
     */
    void updateRollbackByRefundId(List<Long> refundIdIn, String corpid) throws XbbException;
}
